package com.ivi.car;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static junit.framework.Assert.assertEquals;

/**
 * Copyright
 * author zhengcheng
 * date 2018/3/14
 * describe 具有android framework 依赖的测试工具类
 * history
 */
@RunWith(AndroidJUnit4.class)
public class CarTest {
    @Test
    public void Test(){
        Context appContext = InstrumentationRegistry.getTargetContext();
        assertEquals ("com.ivi.car", appContext.getPackageName());
    }
}
